<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>

    <style>
      /*
      顺序不能乱 ，爱恨准则 LOVE HATE
      :link  -> :visited -> :hover -> :active
    */
      a:link {
        color: red;
      }
      a:visited {
        color: blue;
      }
      a:hover {
        color: green;
      }
      a:active {
        color: yellow;
      }
    </style>
  </head>
  <body>
    <h1>伪类</h1>
    <p>
      <a href="https://www.icodingedu.com" target="_blank">艾编程</a>
    </p>
    <p>
      <a href="https://baidu.com" target="_blank">百度一下，你就知道 ！</a>
    </p>
  </body>
</html>
